<template>
  <div>
    <div>
      必须用forEach方法, 把brr数组里的每个值, 乘以2倍, 添加到crr里,
      然后把crr铺设到页面上显示
    </div>
    <div>crr铺设：{{ drr }}</div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      crr: [],
      brr: [1, 0, 2, 0, 0, 0, 5],
    };
  },
  computed: {
    drr() {
      this.brr.forEach((item) => {
        item *= 2;
        this.crr.push(item);
      });
      return this.crr;
    },
  },
};
</script>

<style></style>
